import '../http.dart';
import 'login.model.dart';
export 'login.model.dart';

class LoginApi {
    ///登录
    static Future<LoginRes> login(LoginForm data) async{
        var res=await HttpUtils.request('/app/login',data:data.toJson(),method: 'POST');
        return LoginRes.fromJson(res);
    }
}
